#ifndef ASTYLECONFIGDLG_H
#define ASTYLECONFIGDLG_H

#include <wx/intl.h>
#include "astylepredefinedstyles.h"
#include "configurationpanel.h"

class AstyleConfigDlg : public cbConfigurationPanel {
  public:
    AstyleConfigDlg( wxWindow* parent );
    virtual ~AstyleConfigDlg();
  protected:
    void OnBreakLineChange( wxCommandEvent& event );
    void OnBreakBlocksChange( wxCommandEvent& event );
    virtual wxString GetTitle() const { return _T( "代码格式化" ); }
    virtual wxString GetBitmapBaseName() const { return _T( "Astyle" ); }
    virtual void OnApply() { SaveSettings(); }
    virtual void OnCancel() {}
    void LoadSettings();
    void SaveSettings();
  private:
    DECLARE_EVENT_TABLE()
};

#endif
